package com.youlai.boot.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.youlai.boot.system.model.entity.RequestWaste;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 张雨润
 * @date 2025/2/26 15:58
 * @Description 配送任务卡片列表展示
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskAssignmentVO {
    private Long id;
    private Long requestId;
    private String mobile;
    private Long userId;
    private String username;
    private Long orgId;
    private String orgName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recycleTime;
    private List<String> area;
    private String address;
    private Integer status;
    private String rejectReason;
    private List<RequestWaste> wasteList;
}
